<?php
	error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
	require_once 'include/inc.config.php';
	require_once WACT_ROOT.'common.inc.php';
	require_once WACT_ROOT.'controller/pathinfo.inc.php';

    require_once APP_CTRL_ROOT . 'adm/admin_controller.php';
    require_once APP_CTRL_ROOT . 'adm/site_layout/logo/index.page.php';
    require_once APP_CTRL_ROOT . 'adm/site_layout/logo/edit.page.php';

    	//session_start();
    	//$Front =& new PathInfoDispatchController();
    	//$Front->addChild('index',   new Handle(APP_CTRL_ROOT . 'adm/site_layout/logo/index.page.php|LogoBannerIndexPage'));
    	//$Front->addChild('edit',   new Handle(APP_CTRL_ROOT . 'adm/site_layout/logo/edit.page.php|LogoBannerEditPage'));
        //$Front->setDefaultChild('index');
        //$Front->start();


	class MyAdminRootController extends RootAdminController {
	//class MyAdminRootController extends PathInfoDispatchController {

		function MyAdminRootController() {
        	parent::RootAdminController();
            //parent::PathInfoDispatchController();

            $this->addChild('index',   new Handle(APP_CTRL_ROOT . 'adm/site_layout/logo/index.page.php|LogoBannerIndexPage'));
			$this->addChild('edit',   new Handle(APP_CTRL_ROOT . 'adm/site_layout/logo/edit.page.php|LogoBannerEditPage'));
			//$this->addChild('index', new LogoBannerIndexPage());
			//$this->addChild('edit', new LogoBannerEditPage());

			$this->setDefaultChild('index');

		}

	}

    $Front =& new MyAdminRootController();
	$Front->start();


?>